package com.yl.project.lvyou.booking.service;

import java.util.List;
import com.yl.project.lvyou.booking.domain.TicketBooking;
import com.yl.framework.config.IService;

/**
 * 门票预订Service接口
 * 
 * @author yl
 * @date 2025-03-15
 */
public interface ITicketBookingService extends IService<TicketBooking>
{
    /**
     * 查询门票预订
     * 
     * @param id 门票预订ID
     * @return 门票预订
     */
    public TicketBooking selectTicketBookingById(Long id);

    /**
     * 查询门票预订列表
     * 
     * @param ticketBooking 门票预订
     * @return 门票预订集合
     */
    public List<TicketBooking> selectTicketBookingList(TicketBooking ticketBooking);

    /**
     * 新增门票预订
     * 
     * @param ticketBooking 门票预订
     * @return 结果
     */
    public int insertTicketBooking(TicketBooking ticketBooking);

    /**
     * 修改门票预订
     * 
     * @param ticketBooking 门票预订
     * @return 结果
     */
    public int updateTicketBooking(TicketBooking ticketBooking);

    /**
     * 批量删除门票预订
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTicketBookingByIds(String ids);

    /**
     * 删除门票预订信息
     * 
     * @param id 门票预订ID
     * @return 结果
     */
    public int deleteTicketBookingById(Long id);

    TicketBooking selectByOrderNo(TicketBooking ticketBooking);

    int updateTicketBookingStatus(TicketBooking ticketBooking);
}
